package com.mkh.st.admin.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
@ApiModel(value = "禁用id对象")
public class StatusIdVO implements Serializable {

	@ApiModelProperty(value="id")
	@NotNull(message = "id不能为空!")
	private Long id;

	@ApiModelProperty(value="status=0要禁用，=1要启用")
	@Size(max = 1,message = "status,0:禁用 1:启用")
	private Integer status;
}
